package com.group9.service;

import com.group9.dto.OrderShow;
import com.group9.dto.PageInfoResult;

import java.util.List;

public interface OrderShowService {

    List<OrderShow> selectByCustomerIdAndOrderStatus(Integer customerId, Integer orderStatus);
    List<OrderShow> selectUnpaidByCustomerIdAndOrderStatus(Integer customerId, Integer orderStatus);
    List<OrderShow> selectUndeliverByCustomerIdAndOrderStatus(Integer customerId, Integer orderStatus);
    List<OrderShow> selectUnreceiveByCustomerIdAndOrderStatus(Integer customerId, Integer orderStatus);
    PageInfoResult<OrderShow> selectAllOrders(PageInfoResult pageParameter);
    int updateOrderStatus(Integer orderId, Integer orderStatus);
    int orderCount(Integer customerId, Integer orderStatus);
    List<OrderShow> selectByPage1(Integer pageNum,Integer pageSize);
//    List<OrderShow> selectByPage2(int pageNum,int pageSize);
//    List<OrderShow> selectByPage3(int pageNum,int pageSize);
//    List<OrderShow> selectByPage4(int pageNum,int pageSize);

}
